package com.xinqi.modules.sys.rotation.dto.req;

import com.xinqi.common.base.enums.YesNoNumberEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 系统轮播图-请求对象-启用/禁用
 *
 * @author: yyzhenn
 * @date: 2023/04/23
 */
@Data
@Schema(description = "系统轮播图-请求对象-启用/禁用")
public class RotationImageEnableDTO implements Serializable {

    @NotNull(message = "{rotation.image.id.not.blank}")
    @Schema(description = "主键", example = "")
    private Long id;

    @NotNull(message = "{rotation.image.enableStatus.not.blank}")
    @Schema(description = "状态，0-禁用；1-启动", example = "")
    private YesNoNumberEnum enableStatus;
}
